package guda.house.dal.dao;

import guda.house.dal.dataobject.ExtRuleDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface ExtRuleDAO {


    Long insert(ExtRuleDO extRule);


    ExtRuleDO getExtRuleById(Long ruleId);


    boolean delExtRuleById(Long ruleId);

    List<ExtRuleDO> getExtRuleByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long ruleId);

    List<ExtRuleDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(ExtRuleDO extRule);

}
